package edu.guet.server.mapper;

import java.util.List;

import edu.guet.server.model.dto.StudentScoreDTO;
import org.apache.ibatis.annotations.Mapper;

import edu.guet.server.model.StuSemester;

@Mapper
public interface StuSemesterMapper {
    void setStuSemester(StuSemester stuSemester);

    boolean deleteStuSemester(int user_id, int semester_id);

    boolean updateStuSemesterForSocre(StuSemester stuSemester);

    List<StuSemester> findStuSemesterBySemesterId(int semester_id);

    StuSemester findStuSemesterByStuSemesterId(int stu_semester_id);

    StuSemester isExistSemStu(Integer userId,Integer semesterId);

    void addStuSem(Integer userId, Integer semesterId);

    boolean updateStuSemSocre(StudentScoreDTO editData);

    boolean addperStuSem(StuSemester stuSemester);

}
